#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDesktopWidget>
#include <QApplication>
#include <QMessageBox>
#include <QPushButton>
#include <QVBoxLayout>
#include <QScrollArea>
#include <QFileDialog>
#include <QPixmap>
#include <QMap>
#include <QLabel>
#include <QFont>

#include <QPalette>

#include "drawlabel.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void initUI();

private:
    Ui::MainWindow *ui;
    QPushButton *btnClear;
    QLabel *labelA;
    QLabel *labelB;
    QLabel *labelC;
    QLabel *labelA1;
    QLabel *labelB1;
    QLabel *labelC1;
    QLabel *labelDst;
    QLabel *labelDesc;
    DrawLabel *drawLabel;
public slots:
    void slotClearDraw();
    void slotChangeLabel(int type, double x, double y);
};
#endif // MAINWINDOW_H
